package com.jk.api;

import com.jk.po.PersonalPO;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/***
 * @InterfaceName: PersonalApi
 * @Description:描述一下接口的作用
 * @Auther: 郑滨
 * @Date: 2021/6/30 9:52
 * @version : V1.0
 */
@RequestMapping("personalService")
@ResponseBody
public interface PersonalApi {
    /**
    * @Author  郑滨
    * @method  queryPersonalById
    * @description 描述一下方法的作用
    * @Date 14:19 2021/6/30
    * @Param  * @param id
    * @return java.util.List<com.jk.po.PersonalPO>
    **/
    @PostMapping("queryPersonalById/{id}")
    PersonalPO queryPersonalById(@PathVariable("id") Integer id);

    @PostMapping(value = "updatePersonalPassWord")
    void updatePersonalPassWord(@RequestParam("cuspassword") String cuspassword,@RequestParam("id") Integer id);
}
